package com.group.three.service;

import com.group.three.pojo.Comment;
import com.group.three.pojo.FavoriteVideos;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface FavoriteVideosService {
    List<FavoriteVideos> selectFavoriteAll();

    int deleteFavoriteVideosId(Long favoriteVideosId);

    List<FavoriteVideos> selectAll(int page, int size);
    List<FavoriteVideos> searchByInput(String input);

    int insertVideo(Long FavoriteVideosId,Long videoNumber,Long personId,String collectionTime,Integer favoriteState);

    boolean selectIsFavorite(Long videoNumber, Long personId,Integer favoriteState);

    List<FavoriteVideos> selectAdminFavoriteVideosId(Long personId);
    int deleteCancel(Long personId,Long videoNumber);
}
